﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TextViewExample.aspx.cs" Inherits="Examples_TextViewExample" %>
<%@ Register TagPrefix="mobile"
    Namespace="System.Web.UI.MobileControls"
    Assembly="System.Web.Mobile" %>

    <mobile:Form runat="server" id="Form1" Paginate="True">
    <mobile:Label id="Label1" runat="server" StyleReference="title"
                      Alignment="Center">
        TextView In Use
    </mobile:Label>
    <mobile:TextView id="TextView1" runat="server">
        The TextView control is used for larger blocks of text.
        <br />
        <br />
        This control supports internal pagination so that if you set
        the <b>Paginate</b> control of the <b>Form</b> control to
        <b>true</b>, this control will page its output as
        appropriate for the client browser.<br />
        <br />
        It also supports a set of markup elements so that <b>bold</b>,
        <b><i>bold&amp;italic</i></b>, or <i>italic </i>are supported.
        The line breaks in this text are actually &lt;br/&gt; tags.
        You can also embed &lt;a&gt; hyperlinks to other resources:
        <br />
        <a href='http://mobile.msn.com'>http://mobile.msn.com</a>
    </mobile:TextView>
</mobile:Form>